package com.thinkingcoder.tcrpc.demo.provider;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.thinkingcoder.tcrpc.core.transport.MockTcRegistry;

@Configuration
public class MockRegistryCenterConfig {

    @Bean
    @ConditionalOnMissingBean
    MockTcRegistry mockTcRegistry() {
        return new MockTcRegistry();
    }

}
